imcontext: Tweak dead key handling
authorMatthias Clasen <mclasen@redhat.com>
Fri, 26 Mar 2021 23:50:05 +0000 (19:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 27 Mar 2021 00:38:45 +0000 (20:38 -0400)
commit8a567d79322e18fc8e529c9e556da809d2b933e2
tree132435deefd633720aa3907e6e58effc202baa1d
parentdbcd24adf4b3fccdf23cc98e132fe75f4f63df3f
imcontext: Tweak dead key handling

Reshuffle things to allow for a limited amount of
dead key 'chaining'. We keep up to 2 dead keys in
the preedit, so you can type
<dead_acute> <dead_cedilla> <c>
to produce ḉ, while still getting ```c with
<dead_grave> <dead_grave> <dead_grave> <c>.
gtk/gtkimcontextsimple.c